package com.key.service;

import com.key.common.R;
import com.key.common.dto.AssetChangeAdvDTO;
import com.key.common.dto.AssetChangeDTO;
import com.key.common.vo.ChangeAssetsListVO;
import com.key.entity.AssetChange;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.List;
/*
*
 * @description:实物信息变更相关业务
 * @author: jianjiawei
 * @date: 2023/2/20 9:34
 **/

public interface AssetChangeService {

    /*
    *
     * @description:新建实物信息变更的表单数据回显
     * @author: jianjiawei
     * @date: 2023/2/20 9:37
     **/
    R showAssetsChange();

    /*
    *
     * @description:创建新的实物信息变更清单
     * @author: jianjiawei
     * @date: 2023/2/20 14:15
     **/
    R saveAssetChange(AssetChange assetChange);

    /*
     *
     * @description:查询实物信息变更列表
     * @author: jianjiawei
     * @date: 2023/2/20 15:48
     **/
    R showAssetsChangeList(Integer currentPage,Integer pageSize);

    /*
    *
     * @description:修改实物信息变更的信息回显
     * @author: jianjiawei
     * @date: 2023/2/20 16:20
     **/
    R showUpdateAssetsChange(Integer id);

    /*
    *
     * @description:实物信息变更中修改保存
     * @author: jianjiawei
     * @date: 2023/2/20 16:50
     **/
    R updateAssetChangeSave(AssetChangeDTO acDTO);

    /*
    *
     * @description:删除实物信息数据
     * @author: jianjiawei
     * @date: 2023/2/21 8:45
     **/
    R deleteAssetsChange(Integer id);

    /*
    *
     * @description:高级搜索数据回显
     * @author: jianjiawei
     * @date: 2023/2/21 10:35
     **/
    R showAcAdvSearch();

    /*
    *
     * @description:根据高级搜索查询
     * @author: jianjiawei
     * @date: 2023/2/21 10:41
     **/
    R findAssetsChangeListByAdv(AssetChangeAdvDTO advDTO);

    /*
    *
     * @description:回显实物信息变更资产列表
     * @author: jianjiawei
     * @date: 2023/2/21 15:38
     **/
    List<ChangeAssetsListVO> showChangeAssetsList(Integer acId);

    /*
    *
     * @description:得到工作簿
     * @author: jianjiawei
     * @date: 2023/2/24 16:29
     **/
    HSSFWorkbook getWorkbook();

}
